﻿<!DOCTYPE html>
<html>
        
        <head><meta charset="utf-8">
	<title> {$shareTitle}</title>
	<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta name="format-detection" content="telephone=no">
	<meta content="email=no" name="format-detection">
	<meta name="apple-touch-fullscreen" content="yes">
	<meta http-equiv="Cache-Control" content="max-age=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<!--<link rel="shortcut icon" href="static/icon/favicon.png">
	<link rel="apple-touch-icon-precomposed" href="static/icon/ico-startup-57x57.png">
	<link rel="apple-touch-icon" sizes="57x57" href="static/icon/apple-touch-icon-iphone.png">
	<link rel="apple-touch-icon" sizes="114x114" href="static/icon/apple-touch-icon-retinaiphone.png">
	<link rel="apple-touch-icon" sizes="72x72" href="static/icon/apple-touch-icon-ipad.png">
	<link rel="apple-touch-icon" sizes="144x144" href="static/icon/apple-touch-icon-retinaipad.png">-->
	<meta name="Description" content="wit">
	<meta name="Keywords" content="wit">
	<meta name="author" content="wit">
              
              
                <link rel="stylesheet" href="{$Think.config.RESOURCEURL}wx_assets/css/dynamicWeb/mobi.css?{$Think.now}">
        </head>
        
        <body>
                <script>
                        
                        var bgMusicUrl='{$bgMusicUrl}';
                
                </script>
                <img src="{$Think.config.RESOURCEURL}wx_assets/images/dynamicWeb/load.png" class="PANO_spinner" />
                <section class="p-index">
                        <volist name="dynamicWebs" id="vo">
                                <section class="m-page">
                                        <div class="m-img m-img01" style="background:url({$vo.bgUrl}) center no-repeat;background-size:100% 100%">
                                                <volist name="vo['Element']" id="Element">
                                                        <!--<img class="bg-form" src="/static/img/01-form1.png">//背景动态图-->
                                                        <notempty name='Element.href' >
                                                                <a href="{$Element.href}"></notempty>
                                                                <img  class="slide-{$Element.slideDirect} J_fTxt" src="{$Element.picUrl}" 
																style="<if condition="(Element.leftPos neq null) OR (Element.leftPos neq ' ') "> left:{$Element.leftPos}</if><eq name="Element.posUnit" value="px">px;<else/>%;</eq><if condition="(Element.topPos neq null) OR (Element.topPos neq ' ') "> right:{$Element.topPos}</if><eq name="Element.posUnit" value="px">px;<else/>%;</eq><if condition="(Element.topMargin neq null) OR (Element.topMargin neq ' ') "> top:{$Element.topMargin}</if><eq name="Element.posUnit" value="px">px;<else/>%;</eq><if condition="(Element.bottomMargin neq null) OR (Element.bottomMargin neq ' ') "> bottom:{$Element.bottomMargin}</if><eq name="Element.posUnit" value="px">px;<else/>%;</eq><notempty name='Element.width'>width:{$Element.width}</notempty><eq name="Element.sizeUnit" value="px">px;<else/>%;</eq><notempty name='Element.height'>height:{$Element.height}</notempty><eq name="Element.sizeUnit" value="px">px;<else/>%;</eq>-webkit-animation-delay:.{$Element.loadDisplay}s"/>
																
                                                                <notempty name='Element.href'></a>
                                                        </notempty>
                                                </volist>
					</div>
                                </section>
                        </volist>
                </section> 
            
                <a href="javascript:;" class=<if condition="($bgMusicUrl eq null) OR ($bgMusicUrl eq ' ') "> noplayer-button<else />player-button</if> ><!-- <span class="player-tip">点击开启/关闭音乐</span> --></a>
               
                <script src="wx_assets/js/dynamicWeb/plug/plug.wxshare.js">
                        
                
                </script>
                <script src="wx_assets/js/dynamicWeb/plug.preload.js">
                        
                
                </script>
                <script src="wx_assets/js/dynamicWeb/jquery-1.8.2.min.js">
                        
                
                </script>
                <script src="wx_assets/js/dynamicWeb/jquery.easing.1.3.js">
                        
                
                </script>
                
                
                <script  type="text/javascript">
                if({$dynamicWebnum} >1){
                	document.write("<script src=wx_assets/js/dynamicWeb/99_main.js?{$Think.now}'><\/script>" );                	
                }
                </script>
             <!--  <script src="wx_assets/js/dynamicWeb/99_main.js?{$Think.now}">  
                        
                
                </script>--> 
                <script src="wx_assets/js/dynamicWeb/kissy-1.4.3/build/seed-min.js">
                        
                
                </script>
                <script src="wx_assets/js/dynamicWeb/plug.wxshare.tip.source.js">                
                </script>
                <script src="wx_assets/js/dynamicWeb/mod.base.js?{$Think.now}">
                        
                
                </script>
                
                
   <!--
分享前控制
-->


	<script type="text/javascript">
		
          function GetSessionIdFromHref(search){
	　　	var args = search.substring(1); 
	　　	var retval = new Array(); 
		  args = args.split("&"); 
			for(var i = 0; i < args.length; i ++){ 
				str = args[i]; 
				var arg = str.split("="); 
				if(arg.length <= 1) continue; 
				
				if(arg[0] == 'params') {
					var params = decodeURIComponent(arg[1]);
					var obj = eval('(' + params + ')');
					retval["webId"] = obj.webId;
					
				} else if(arg[0] == 'customerId') {
					retval["customerId"] = arg[1]; 
				}else if(arg[0] == 'userName'){
					retval["userName"] = arg[1]; 
				}
			} 
			return retval; 
	}
   
        var hrefParamsArray = GetSessionIdFromHref(window.location.search);
        
		var imageUrl = '{$sharePicUrl}';
		var title = '{$shareTitle}';
		var des = '{$shareDescript}';
		var baseUrl =  '{$Think.config.SERVER_HOST}';
		//var rsId = sendRId;
	
		//var Link = urlString;
		
		var shareUrlString = baseUrl + 'call.html?customerId='
	       					       		+ hrefParamsArray["customerId"]+'&userName='+ '&module=dynamicWeb&method=getDynamicWeb&params=%7B%22webId%22:'+  hrefParamsArray["webId"]  +'%7D';
	       					      
		
		if(imageUrl == ''){
			imageUrl = baseUrl + 'wx_assets/images/dynamicWeb/default.jpg';
		}
		if(title == ''){
			title = '分享动态微网站!';
		}
		if(des == ''){		
				des = "微网站!";		
		}
		
		window.shareData = {
			"imgUrl": imageUrl,
			"timeLineLink":  shareUrlString ,
			"sendFriendLink":  shareUrlString ,
			"weiboLink":  shareUrlString ,
			"tTitle": title,
			"tContent": des,
			"fTitle": title,
			"fContent": des,
			"wContent": des
		};
			</script>
       

		<script type="text/javascript">
(function() {
	var wtj = document.createElement('script'); wtj.type = 'text/javascript'; wtj.async = true;
	wtj.src = 'http://tj.weimob.com/wtj.js?url=' + encodeURIComponent(location.href);
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wtj, s);
})();
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fd80741dd59de91e1846b2add2c0ad2a2' type='text/javascript'%3E%3C/script%3E"));
function weimobAfterShare(shareFromWechatId,sendFriendLink,shareToPlatform){
	var wmShare = document.createElement('script'); wmShare.type = 'text/javascript'; wmShare.async = true;
    wmShare.src = 'http://tj.weimob.com/api-share.js?fromWechatId=' + shareFromWechatId + '&shareToPlatform=';
	wmShare.src += shareToPlatform + '&pid=13992&sendFriendLink=' + encodeURIComponent(sendFriendLink);
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wmShare, s);
}

document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
	// 发送给好友
	WeixinJSBridge.on('menu:share:appmessage', function (argv) {
		WeixinJSBridge.invoke('sendAppMessage', {
			"img_url":  window.shareData.imgUrl,
			"img_width": "640",
			"img_height": "640",
			"link": shareUrlString,
			"desc": window.shareData.fContent,
			"title": window.shareData.fTitle
		}, function (res) {
			weimobAfterShare("oFovYjs0BkuKYR9dubdDkPqiECLc",window.shareData.sendFriendLink,'appmessage');
			_report('send_msg', res.err_msg);
		})
	});

	// 分享到朋友圈
	WeixinJSBridge.on('menu:share:timeline', function (argv) {
		WeixinJSBridge.invoke('shareTimeline', {
			"img_url": window.shareData.imgUrl,
			"img_width": "640",
			"img_height": "640",
			"link": shareUrlString,
			"desc": window.shareData.tContent,
			"title": window.shareData.tTitle
		}, function (res) {
			weimobAfterShare("oFovYjs0BkuKYR9dubdDkPqiECLc",window.shareData.timeLineLink,'timeline');
			_report('timeline', res.err_msg);
		});
	});

	// 分享到微博
	WeixinJSBridge.on('menu:share:weibo', function (argv) {
		WeixinJSBridge.invoke('shareWeibo', {
			"content": window.shareData.wContent,
			"url": shareUrlString
		}, function (res) {
			weimobAfterShare("oFovYjs0BkuKYR9dubdDkPqiECLc",window.shareData.weiboLink,'weibo');
			_report('weibo', res.err_msg);
		});
	});
}, false);
</script>
   
                
               
        </body>

</html>